//
//  ViewController.h
//  Checkers2015
//
//  Created by Dmitry Tatarinov on 2/6/15.
//  Copyright (c) 2015 Huly-Gun Soft. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <GameKit/GameKit.h>
#import "xors3d.h"
#import "vars.h"
//#import "game_const.h"
#import "MKStoreKit.h"


@interface ViewController : UIViewController <GKGameCenterControllerDelegate>
{
    NSTimer        * animationTimer;
    NSTimeInterval   animationInterval;
    int playerMode;
    int gameMode;
}

@property UIButton *pauseBtn;
@property UIButton *resumeBtn;
@property UIButton *restartGameBtn;
@property UIButton *backToMenuBtn;

@property(nonatomic, retain) NSMutableDictionary *achievementsDictionary;

- (void)reportScore: (int) curScore lbIdentifier: (NSString *)leaderboardIdentifier;
- (void)mainScreenBtnPressed: (id) sender;
- (void)startGame;
- (void)loadMainView;
- (void)loadLevelSelect;
- (void)loadGameScore;
//- (void)goToGameScore;
- (void)restartGame;
- (void)unloadGame;
- (void)showCurrentScore;

@end

